package toolsimpl

import "go-caipu/pkg/services/tools/models"

/*
	db_tables
*/

func (s Service) GetDBTablePage(tableName string, pageSize int, pageIndex int) ([]models.DBTables, int64, error) {
	var table models.DBTables
	table.TableName = tableName
	table.DbName = s.cfg.DbCfg.DbName // database
	return table.GetPage(s.store, pageSize, pageIndex)
}
